class PSThrowableObject extends KActor
	ClassGroup(PSGame);

var StaticMeshComponent Mesh;

var Pawn Carrier;

// Damage caused by the object
var int HitDamage;

// Define how fast the object is thrown
var float ThrowingMomentum;

var bool bJustGrabbed;


function SetCarrier (Pawn NewCarrier)
{
	if(NewCarrier != none)
	{
		SetPhysics(PHYS_None); 
		//SetCollisionType(COLLIDE_NoCollision);
	}
	else
	{
		SetPhysics(PHYS_RigidBody);
		//SetCollisionType(COLLIDE_BlockAll);
	}

	Carrier = NewCarrier;
}

function float GetThrowingMomentum()
{
	return ThrowingMomentum;
}

DefaultProperties
{	
	bNoEncroachCheck=false
	bJustGrabbed=false
}

